From 41b067c43a446ab7f4e19636a7fef3866ec42cca Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Tue, 20 Jun 2006 19:48:37 +0000 Subject: [PATCH] Correctly register the done signal - it sends an enum, not an int. 2006-06-20 Murray Cumming * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): Correctly register the done signal - it sends an enum, not an int. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkprintoperation.c | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 074bdf021a..85755996c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-20 Murray Cumming + + * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): + Correctly register the done signal - it sends an enum, not an int. + 2006-06-20 Christian Persch * configure.in diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 074bdf021a..85755996c5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-06-20 Murray Cumming + + * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): + Correctly register the done signal - it sends an enum, not an int. + 2006-06-20 Christian Persch * configure.in diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index 001ab3f497..7667b6e202 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -556,8 +556,8 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkPrintOperationClass, done), NULL, NULL, - g_cclosure_marshal_VOID__INT, - G_TYPE_NONE, 1, G_TYPE_INT); + g_cclosure_marshal_VOID__ENUM, + G_TYPE_NONE, 1, GTK_TYPE_PRINT_OPERATION_RESULT); /** * GtkPrintOperation::begin-print: -- 2.30.2